<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>商品详情</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="${resources}/plugins/fontAwesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <link href="${resources}/css/common.css" rel="stylesheet" type="text/css">
    <link href="${resources}/css/goodsDetail1.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container">
    <div class="commonHeader">商品详情
        <a href="javascript:void (0)" onclick="javascript:window.history.back();" class="fa fa-chevron-left back"></a>
    </div>

    <div id="wrapper">
        <div class="ad">
            <div class="adImg">
                <img src="${goods.picurl}" alt=""> 
            </div>
            <div class="describe">
                <p class="title">${goods.name}</p>
                <div class="tip">颜色随机发</div>
                <div class="integral">
                    <span class="num">${(goods.price)*(merchantRate.score)}</span>
                </div>
            </div>
        </div>

        <div class="goods">
            <div class="goodsName">
                <div class="title">商品名称</div>
                <p class="tip">${goods.name}</p>
            </div>
            <div class="goodsShortDes">
                <div class="title">商品简介</div>
                <p class="tip">${goods.content}</p>
            </div>
            <div class="exchangeFlow">
                <div class="title">兑换流程</div>
                <p class="tip">${goods.content}</p>
                <div class="importanceExplain">
                    <h3>重要说明</h3>
                    <div class="content">${goods.content}</div>
                </div>
            </div>
        </div> 
    </div>
 <div class="operate">
        <a href="${path}/manage/score/cart/addCart/${goods.id}" class="shoppingCart">加入购物车</a>
        <a href="${path}/manage/score/cart/addCart/${goods.id}" class="buy">立即兑换</a>
    </div>
</div>
</body>
</html>